home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SPACE 1
/
SPACE - Library 1 - Volume 1.iso
/
program
/
363
/
xlisp20
/
readme.doc
< prev
next >
Wrap
Text File
|
1985-11-19
|
4KB
|
133 lines
CURRENT NOTES
ST Library #19: XLISP
=====================
by Jwahar R. Bammi
This distribution of xlisp contains the following files:
readme.doc This file
xlisp.doc The documentation
xlisp.uttp The 520 ST executable in uuencode format. To
transfer to the St, uudecode the file on your
unix system (which will produce the file xlisp.ttp),
and then use a binary (image) transfer
facility like xmodem or kermit to transfer the decoded
file to your St. uuencode/decode, xmodem/kermit for
the unix end are available from the net address
given at the end of the file.
init.lsp Required initialization file. Automatically loaded by
xlisp on startup. Must be in the same folder
(directory) as xlisp.ttp, unless INITPATH is defined
in xlisp.h. (INITPATH if the filename for init.lsp
not the directory name ie. "mypath\\init.lsp" and NOT
just "mypath\\".
Sample xlisp programs:
----------------------
art.lsp example.lsp fact.lsp fib.lsp hanoi.lsp
hdwr.lsp ifthen.lsp prolog.lsp queens.lsp queens2.lsp
makefile To make xlisp on the Vax (unix)
ctype.h These .h files are for the St only. When making xlisp
math.h on the Vax (unix) hide these files by moving them to
setjmp.h another directory.
xlisp.h
The file ststuff.c is St specific and is not used
by the Vax (unix) version.
Edit first line in the file for system type (ST or Unix)
ststuff.c xlbfun.c xlcont.c xldbug.c xldmem.c xleval.c
xlfio.c xlftab1.c xlftab2.c xlglob.c xlinit.c xlio.c
xlisp.c xljump.c xllist.c xlmath.c xlobj.c xlprin.c
xlread.c xlstr.c xlsubr.c xlsym.c xlsys.c
xlisp.bat Batch file to link and relmod xlisp on the St
xlisp.inp
How to Make xlisp on the ST
---------------------------
Compile all the .c files after editing xlisp.h appropriately. Then
link using xlisp.bat. (You will probably have to edit xlisp.bat to set
up the drive designator appropriately for your system).
To invoke xlisp from the desktop on the ST double click xlisp.ttp. In
the dialog box enter the name(s) of the file(s) you want loaded (don't
enter the .lsp extention). You may of course choose to supply no
filenames in the dialog box, in which case simply hit <return>.
xlisp.ttp will automatically load init.lsp, and then the file(s).
To load a file from the interpreter issue:
(load "filename.lsp")
Notice the ".lsp" extention is required to be entered here.
How to Make xlisp on a Vax
--------------------------
Edit xlisp.h and makefile appropriately and then issue the command:
make install
This disk is part of the CURRENT NOTES ST Public Domain Library (#19).
You may also obtain the files directly from the author by sending a
formatted floppy and a Self Addressed Stamped Envolope
to:
J.R. Bammi
215 Crawford Hall
10900 Euclid Avenue
Cleveland, Oh 44106
Questions: Send electronic mail to the address below.
enjoy
Jwahar R. Bammi
Usenet: .....!decvax!cwruecmp!bammi
CSnet: bammi@case
Arpa: bammi%case@csnet-relay
CompuServe: 71515,155